#!/bin/bash
IMG=install.img
ISO_DIR=/root/custom_os/iso
 
rm ./${IMG} -f
mksquashfs ${ISO_DIR}/../template/install.img_modify/ ./${IMG}  -all-root  -noF

rm ${ISO_DIR}/images/${IMG} -f
mv ./${IMG} ${ISO_DIR}/images/.
